package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 物料产品BOM表
 * @Author: jeecg-boot
 * @Date:   2024-08-31
 * @Version: V1.0
 */
@Data
@TableName("wm_product_bom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="物料产品BOM表")
public class WmProductBom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**物料产品ID*/
	@Excel(name = "物料产品ID", width = 15)
    @Schema(description = "物料产品ID")
    private java.lang.String wmItemId;
	/**BOM物料ID*/
	@Excel(name = "BOM物料ID", width = 15)
    @Schema(description = "BOM物料ID")
    private java.lang.String bomItemId;
    /**子物料产品名称*/
    @Excel(name = "BOM物料名称", width = 15)
    @Schema(description = "BOM物料名称")
    private java.lang.String bomItemName;
    /**子物料产品编码*/
    @Excel(name = "BOM物料编码", width = 15)
    @Schema(description = "BOM物料编码")
    private java.lang.String bomItemCode;
    /**规格型号*/
    @Excel(name = "规格型号", width = 15)
    @Schema(description = "规格型号")
    private java.lang.String bomItemSpec;
    /**单位*/
    @Excel(name = "单位", width = 15)
    @Schema(description = "单位")
    private java.lang.String unitOfMeasure;
    /**产品物料标识*/
    @Excel(name = "产品物料标识", width = 15, dicCode = "item_or_product")
    @Dict(dicCode = "item_or_product")
    @Schema(description = "产品物料标识")
    private java.lang.String itemOrProduct;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @Schema(description = "数量")
    private java.lang.Double quantity;
    /**导入批次号*/
    @Schema(description = "导入批次号")
    private java.lang.String batchNo;
    /**是否启用*/
    @Dict(dicCode = "enable_flag")
    @Schema(description = "是否启用")
    private java.lang.String enableFlag;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @Schema(description = "租户ID")
    private java.lang.String tenantId;
	/**删除者*/
	@Excel(name = "删除者", width = 15)
    @Schema(description = "删除者")
    private java.lang.String deleteBy;
	/**删除时间*/
	@Excel(name = "删除时间", width = 15)
    @Schema(description = "删除时间")
    private java.lang.String deleteTime;

    /**二维码*/
    @TableField(exist = false)
    @Schema(description = "二维码")
    private java.lang.String qrcode;
    /**附件*/
    @TableField(exist = false)
    @Schema(description = "附件")
    private java.lang.String file;
}
